internal class Globals{
	
	internal static double CPU_FREQ_NTSC = 1789772.5d;
	internal static double CPU_FREQ_PAL  = 1773447.4d;
	
	internal static int preferredFrameRate = 60;
	// Microseconds per frame:
	internal static int frameTime = 1000000/preferredFrameRate;
	
	// What value to flush memory with on power-up:
    internal static short memoryFlushValue = 0xFF;
	
	internal static readonly bool debug = false;
	internal static readonly bool fsdebug = false;
	
	internal static bool appletMode = true;
	internal static bool disableSprites = false;
	internal static bool timeEmulation = true;
	internal static bool palEmulation;
    internal static bool enableSound = true;
	internal static bool focused = false;
		
	internal static NES nes;
	internal static void println(string s){
		nes.getGui().println(s);
	}
	
}